<template>
  <div>
    <input type="text" v-model.lazy="uname">
  </div>
</template>

<script>
export default {
  data () {
    return {
      uname : 'zhangsan'
    }
  },
  watch : {
    uname : {
      handler(newVal,oldVal){
        console.log(newVal,oldVal);
      },
    }
  }
}
</script>

<style>

</style>